package com.it13.utils.httputil;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.httpclient.StatusLine;

/**
 * http请求返回数据模型
 * @author yzChen
 * @date 2013-7-25 下午9:33:58
 * <pre>
 * desc:
 * </pre>
 */
public class RespModel implements Serializable {

	private static final long serialVersionUID = -6482989459192689025L;

	// 创建时间
	private Date createdate = new Date();
	// 返回状态
	private StatusLine statusline;
	// 返回内容
	private String content;
	public RespModel() {
		super();
	}

	public RespModel(StatusLine statusline, String content) {
		super();
		this.statusline = statusline;
		this.content = content;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public StatusLine getStatusline() {
		return statusline;
	}

	public void setStatusline(StatusLine statusline) {
		this.statusline = statusline;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "RespModel [createdate=" + createdate + ", statusline="
				+ statusline + ", content=" + content + "]";
	}

}
